package com.itheima.myshopweb.client;

import com.itheima.myshopuser.pojo.User;
import org.springframework.stereotype.Component;

/**
 * @File: UserClientImpl
 * @Brief: 熔断器类，实现 UserClient 接口的功能
 * @Details:
 * @Author: Kevin
 * @Date: 2024/11/5 14:37
 * @Version: 1.0
 * @Department: 人工智能与仿真实验室
 * @Copyright: Copyright By AI&Simulation Lab, All Rights Reserved
 */
@Component
public class UserClientImpl implements UserClient{
    @Override
    public User findById(Integer id) {
        System.out.println("执行了熔断器类来处理查询用户逻辑");
        return null;
    }
}
